using JTZY.Model.Goods.Dto;
using JTZY.Model.Goods;

namespace JTZY.Service.Goods.IGoodsService
{
    /// <summary>
    /// 商品表service接口
    /// </summary>
    public interface ICorecmsgoodsService : IBaseService<Corecmsgoods>
    {
        PagedInfo<CorecmsgoodsDto> GetList(CorecmsgoodsQueryDto parm);

        Corecmsgoods GetInfo(int Id);


        Corecmsgoods AddCorecmsgoods(Corecmsgoods parm);

        List<Corecmsgoods> GetTreeList();

        PagedInfo<CorecmsgoodsDto> ExportList(CorecmsgoodsQueryDto parm);
        WebApiCallBack ChangeUserStock(int productId,long userId, string v, int nums);
    }
}
